import request from '@/utils/request'

export const userLogin = (data) => {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}

export const getMenu = () => {
  return request({
    url: '/menus'
  })
}
